class OPS:
    # Client OPS
    ADD = 1
    DEL = 2
    EDT = 3
    PRT = 4
    CLIENT = 10

    # Paxos OPS
    PREPARE   = 21
    PROMISE   = 22
    ACCEPT    = 23
    ACCEPTACK = 24
    LEARN    = 25
    PAXOS    = 30

    # Other OPS
    NULL        = 41
    RESEND      = 42
    LEADERBROAD = 43
    FLUSH       = 44
    ELECT       = 45
    ELECTING    = 46
    OTHER  = 50

class STAT:
    FREE = 100
    WORK = 101
    NEWLEAD = 102
    WAITING = 103
